package STUDENT.NGUYENSANG.OOPs.CHAN_LE;

public class Moduls {
	public void inChan(MyInteger MT)
	{
		int i=0;
		while(i<MT.getInteger())
		{
			if(i%2==0)
			{
				System.out.println(+i);
				i++;
			}
			else i++;
		}
		
	}
	public void inLe(MyInteger MT)
	{
		int i=0;
		while(i<MT.getInteger())
		{
			if(i%2!=0)
			{
				System.out.println(+i);
				i++;
			}
			else i++;
		}
		
	}
}
